#ifndef REP_H
#define REP_H


void do_report(const char *rep_path, const char *content)
{
	//char rep_path[] = "/usr/local/apdtools/agent/reportexception";
	char cmd[1024];

	sprintf(cmd, "%s monitor_test \"%s\"",
		rep_path, content);
	//printf("CMD: %s\n", cmd);
	system(cmd);
}

#endif

